package com.ruoyi.jjyh.domain;

import java.math.BigDecimal;
import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品发布对象 jjyh_goodsrelease
 * 
 * @author ruoyi
 * @date 2020-11-20
 */
public class JjyhGoodsrelease extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 用户id */
    @Excel(name = "用户id")
    private String userid;

    /** 用户类型（个人 企业） */
    @Excel(name = "用户类型", readConverterExp = "个=人,企=业")
    private String userType;

    /** 标题 */
    @Excel(name = "标题")
    private String goodsTitle;

    /** 产品描述内容 */
    @Excel(name = "产品描述内容")
    private String googsDesc;

    /** 产品描述图片 多个以|隔开 */
    @Excel(name = "产品描述图片 多个以|隔开")
    private String goodsPic;

    /** 新品闲置（全新，九成新，八成新，七成新，七成新以下） */
    @Excel(name = "新品闲置", readConverterExp = "全=新，九成新，八成新，七成新，七成新以下")
    private String isNewgoods;

    /** 所属产品分类 */
    @Excel(name = "所属产品分类")
    private String goodsClass;

    /** 所属产品分类 第二级别 */
    @Excel(name = "所属产品分类 第二级别")
    private String goodsClassTwo;

    /** 所属产品分类 第三级别 */
    @Excel(name = "所属产品分类 第三级别")
    private String goodsClassThree;

    /** 起换量 */
    @Excel(name = "起换量")
    private Integer beginCount;

    /** 库存量 */
    @Excel(name = "库存量")
    private Integer stockCount;

    /** 保质期 */
    @Excel(name = "保质期")
    private String shelfLife;

    /** 生产日期 */
    @Excel(name = "生产日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date productDate;

    /** 产品单位 */
    @Excel(name = "产品单位")
    private String goodsUnit;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal goodsPrice;

    /** 发布省份编码 */
    @Excel(name = "发布省份编码")
    private String releaseProv;

    /** 发布省份名称 */
    @Excel(name = "发布省份名称")
    private String releaseProvname;

    /** 发布城市编码 */
    @Excel(name = "发布城市编码")
    private String releaseCity;

    /** 发布城市名称 */
    @Excel(name = "发布城市名称")
    private String releaseCityname;

    /** 当前地址 */
    @Excel(name = "当前地址")
    private String currentAddress;

    /** 想要换的产品 */
    @Excel(name = "想要换的产品")
    private String exchangeGoods;

    /** 想要交换的产品分类 */
    @Excel(name = "想要交换的产品分类")
    private String exchangeClass;

    /** 产品状态（上架，下架，审核中，审核通过，审核未通过） */
    @Excel(name = "产品状态", readConverterExp = "上=架，下架，审核中，审核通过，审核未通过")
    private String goodsStatus;

    /** 纬度 */
    @Excel(name = "纬度")
    private String lat;

    /** 经度 */
    @Excel(name = "经度")
    private String lon;

    private String distance;

    private String delflag;

    private int views;

    private String nickname;
    private String headImg;
    private String phone;
    private String level;
    private String userIdcard;
    /** 一级分类名称 */
    private String firstName;
    /** 二级分类名称 */
    private String secondName;
    /** 三级分类名称 */
    private String thirdName;
    /**  拒绝原因 */
    private String disReason;

    private String dateStr;
    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setUserid(String userid) 
    {
        this.userid = userid;
    }

    public String getUserid() 
    {
        return userid;
    }
    public void setUserType(String userType) 
    {
        this.userType = userType;
    }

    public String getUserType() 
    {
        return userType;
    }
    public void setGoodsTitle(String goodsTitle) 
    {
        this.goodsTitle = goodsTitle;
    }

    public String getGoodsTitle() 
    {
        return goodsTitle;
    }
    public void setGoogsDesc(String googsDesc) 
    {
        this.googsDesc = googsDesc;
    }

    public String getGoogsDesc() 
    {
        return googsDesc;
    }
    public void setGoodsPic(String goodsPic) 
    {
        this.goodsPic = goodsPic;
    }

    public String getGoodsPic() 
    {
        return goodsPic;
    }
    public void setIsNewgoods(String isNewgoods) 
    {
        this.isNewgoods = isNewgoods;
    }

    public String getIsNewgoods() 
    {
        return isNewgoods;
    }
    public void setGoodsClass(String goodsClass) 
    {
        this.goodsClass = goodsClass;
    }

    public String getGoodsClass() 
    {
        return goodsClass;
    }
    public void setGoodsClassTwo(String goodsClassTwo) 
    {
        this.goodsClassTwo = goodsClassTwo;
    }

    public String getGoodsClassTwo() 
    {
        return goodsClassTwo;
    }
    public void setGoodsClassThree(String goodsClassThree) 
    {
        this.goodsClassThree = goodsClassThree;
    }

    public String getGoodsClassThree() 
    {
        return goodsClassThree;
    }
    public void setBeginCount(Integer beginCount) 
    {
        this.beginCount = beginCount;
    }

    public Integer getBeginCount() 
    {
        return beginCount;
    }
    public void setStockCount(Integer stockCount) 
    {
        this.stockCount = stockCount;
    }

    public Integer getStockCount() 
    {
        return stockCount;
    }
    public void setShelfLife(String shelfLife) 
    {
        this.shelfLife = shelfLife;
    }

    public String getShelfLife() 
    {
        return shelfLife;
    }
    public void setProductDate(Date productDate) 
    {
        this.productDate = productDate;
    }

    public Date getProductDate() 
    {
        return productDate;
    }
    public void setGoodsUnit(String goodsUnit) 
    {
        this.goodsUnit = goodsUnit;
    }

    public String getGoodsUnit() 
    {
        return goodsUnit;
    }
    public void setGoodsPrice(BigDecimal goodsPrice) 
    {
        this.goodsPrice = goodsPrice;
    }

    public BigDecimal getGoodsPrice() 
    {
        return goodsPrice;
    }
    public void setReleaseProv(String releaseProv) 
    {
        this.releaseProv = releaseProv;
    }

    public String getReleaseProv() 
    {
        return releaseProv;
    }
    public void setReleaseProvname(String releaseProvname) 
    {
        this.releaseProvname = releaseProvname;
    }

    public String getReleaseProvname() 
    {
        return releaseProvname;
    }
    public void setReleaseCity(String releaseCity) 
    {
        this.releaseCity = releaseCity;
    }

    public String getReleaseCity() 
    {
        return releaseCity;
    }
    public void setReleaseCityname(String releaseCityname) 
    {
        this.releaseCityname = releaseCityname;
    }

    public String getReleaseCityname() 
    {
        return releaseCityname;
    }
    public void setCurrentAddress(String currentAddress) 
    {
        this.currentAddress = currentAddress;
    }

    public String getCurrentAddress() 
    {
        return currentAddress;
    }
    public void setExchangeGoods(String exchangeGoods) 
    {
        this.exchangeGoods = exchangeGoods;
    }

    public String getExchangeGoods() 
    {
        return exchangeGoods;
    }
    public void setExchangeClass(String exchangeClass) 
    {
        this.exchangeClass = exchangeClass;
    }

    public String getExchangeClass() 
    {
        return exchangeClass;
    }
    public void setGoodsStatus(String goodsStatus) 
    {
        this.goodsStatus = goodsStatus;
    }

    public String getGoodsStatus() 
    {
        return goodsStatus;
    }
    public void setLat(String lat) 
    {
        this.lat = lat;
    }

    public String getLat() 
    {
        return lat;
    }
    public void setLon(String lon) 
    {
        this.lon = lon;
    }

    public String getLon() 
    {
        return lon;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userid", getUserid())
            .append("userType", getUserType())
            .append("goodsTitle", getGoodsTitle())
            .append("googsDesc", getGoogsDesc())
            .append("goodsPic", getGoodsPic())
            .append("isNewgoods", getIsNewgoods())
            .append("goodsClass", getGoodsClass())
            .append("goodsClassTwo", getGoodsClassTwo())
            .append("goodsClassThree", getGoodsClassThree())
            .append("beginCount", getBeginCount())
            .append("stockCount", getStockCount())
            .append("shelfLife", getShelfLife())
            .append("productDate", getProductDate())
            .append("goodsUnit", getGoodsUnit())
            .append("goodsPrice", getGoodsPrice())
            .append("releaseProv", getReleaseProv())
            .append("releaseProvname", getReleaseProvname())
            .append("releaseCity", getReleaseCity())
            .append("releaseCityname", getReleaseCityname())
            .append("currentAddress", getCurrentAddress())
            .append("exchangeGoods", getExchangeGoods())
            .append("exchangeClass", getExchangeClass())
            .append("goodsStatus", getGoodsStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("lat", getLat())
            .append("lon", getLon())
            .toString();
    }

    public String getDistance() {
        return distance;
    }

    public void setDistance(String distance) {
        this.distance = distance;
    }

    public int getViews() {
        return views;
    }

    public void setViews(int views) {
        this.views = views;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getHeadImg() {
        return headImg;
    }

    public void setHeadImg(String headImg) {
        this.headImg = headImg;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getUserIdcard() {
        return userIdcard;
    }

    public void setUserIdcard(String userIdcard) {
        this.userIdcard = userIdcard;
    }

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public String getSecondName() {
        return secondName;
    }

    public void setSecondName(String secondName) {
        this.secondName = secondName;
    }

    public String getThirdName() {
        return thirdName;
    }

    public void setThirdName(String thirdName) {
        this.thirdName = thirdName;
    }

    public String getDisReason() {
        return disReason;
    }

    public void setDisReason(String disReason) {
        this.disReason = disReason;
    }

    public String getDateStr() {
        return dateStr;
    }

    public void setDateStr(String dateStr) {
        this.dateStr = dateStr;
    }

    public String getDelflag() {
        return delflag;
    }

    public void setDelflag(String delflag) {
        this.delflag = delflag;
    }
}
